<!--{template admin/header}-->

<form method="post" action="admin.php?m=movie&a=modify_category">
	<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
		<tr class="header">
			<td colspan="2">影片分类</td>
		</tr>
	</table>
	
	<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
		<tr class="header">
			<td>ID</td>
			<td>分类名称</td>
			<td>排序</td>
		</tr>
		<!-- {loop $category_list $k $item} -->
		<tr>
			<td>{$item[id]}</td>
			<td align="center">
		  		<input size="10" type="text" name="category[{$k}][name]" value="{$item[name]}" maxlength="20">
		  	</td>
		  	<td align="right">
		  		<input size="5" type="text" name="category[{$k}][order]" value="{$item[order]}" maxlength="2">
		  	</td>
		</tr>
		<!-- {/loop} -->
		<tr>
			<td><input type="checkbox" name="category_new[0][enable]" value="1" checked="true" /></td>
			<td align="center">
		  		<input size="10" type="text" name="category_new[0][name]" value="" maxlength="20">
		  	</td>
		  	<td align="right">
		  		<input size="5" type="text" name="category_new[0][order]" value="" maxlength="2">
		  	</td>
		</tr>
		<tr>
			<td><input type="checkbox" name="category_new[1][enable]" value="1" checked="true" /></td>
			<td align="center">
		  		<input size="10" type="text" name="category_new[1][name]" value="" maxlength="20">
		  	</td>
		  	<td align="right">
		  		<input size="5" type="text" name="category_new[1][order]" value="" maxlength="2">
		  	</td>
		</tr>
	</table>
	<br />
	<center><input type="submit" class="button" name="addsubmit" value="提 交"></center>
</form>
